
<%@ include file="common.jsp" %>

<!-- 	<style type="text/css">
	@import "./css/viewDetails.css";
	</style> -->
	
<div>
	<form name="searchForm" id="searchForm">
		<table class="zeroBorder">
			<tr class="formSpacingRow formBlockColor"><td colspan="12" class="formBlockColor"></td></tr>
		</table>
		<table class="viewDetails">
				<tr class="heading" style="width: 100cm;">
					<th align="center" colspan="8">Available Filters</th>
				</tr>
				<tr class="formSpacingRow formBlockColor"><td colspan="12" class="formBlockColor"></td></tr>
		
				<tr class="even">
					<td align="right"> User ID	</td>
					<td> <input type="text" name="userId" id="userId" style="width: 100px;" /> </td>
				
					<td align="right"> User Name</td>
					<td> <input type="text" name="userName" style="width: 100px;" /> </td>
				
					<td align="right"> Business Unit </td>	<!-- changed from location to business unit on 25-02-2012 as told by shubh -->
					<td>
						<select id="locselect" name="buId" onchange="loadDepttForBU(this.id,'department')">
								<option value="0">All</option>
							<c:forEach items="${locationList}" var="item">
								<option value="${item.key}">${item.value}</option>
							</c:forEach>
						</select>
					</td>
				
					<td align="right"> Department </td>
					<td>
						<select id="department" name="deptId" >
							<option value="0">All</option>
							<c:forEach items="${deptList}" var="item">
								<option value="${item.key}">${item.value}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
		
				<tr class="odd" style="width: 100%;">
					<td align="center" colspan="8">
						<input type="button" value="Submit" class="formButton" onclick="generateListOfUsers();" />&nbsp;&nbsp;
						<input type="button" value="Cancel" class="formButton" onclick="closeUserLookUpDialog();" />
					</td>
				</tr>
		</table>
	</form>
</div>
<div  id="userLookUpTable"></div>

